package exception;

import java.awt.*;
import java.io.IOException;
import java.sql.SQLException;

public class ThrowsDemo {
    public void doSome()throws IOException, AWTException{}
}
class  SubClass extends ThrowsDemo{
    public void doSome ()  {}
}